package operations;

import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;

/**
 * The Class ClearAdditive.
 * This class performs clear additive operations.
 * This class extends the formatOperations class and inherits the clipboard from it.
 */
public class ClearAdditive extends FormatOperations{
	
	public void performOperation(){
		additiveSelectText="";
		clipboardString = new StringSelection(additiveSelectText);
		Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
		clipboard.setContents(clipboardString, this);
	}

}
